﻿import request from '/@/utils/request';
enum Api {
  Addtestdb = '/api/testdb/add',
  Deletetestdb = '/api/testdb/delete',
  Updatetestdb = '/api/testdb/update',
  Pagetestdb = '/api/testdb/page',
}

// 增加车型
export const addtestdb = (params?: any) =>
	request({
		url: Api.Addtestdb,
		method: 'post',
		data: params,
	});

// 删除车型
export const deletetestdb = (params?: any) => 
	request({
			url: Api.Deletetestdb,
			method: 'post',
			data: params,
		});

// 编辑车型
export const updatetestdb = (params?: any) => 
	request({
			url: Api.Updatetestdb,
			method: 'post',
			data: params,
		});

// 分页查询车型
export const pagetestdb = (params?: any) => 
	request({
			url: Api.Pagetestdb,
			method: 'post',
			data: params,
		});


